﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OvenTest
{
    internal class RegValidator
    {
        private string name;
        private int inputLen;
        private bool checkState;
        private string[] address;

        public string Name { get { return name; } }
        public int InputLen { get { return inputLen; } }
        public bool CheckState { get { return checkState; } }
        public string[] Address { get { return address; } }

        public RegValidator()
        {

        }

        public RegValidator(string str)
        {
            this.name = str;
        }

        private RegValidator(int len)
        {
            this.inputLen = len;
        }

        public RegValidator(string[] adr)
        {
            address = adr;  
        }
        static RegValidator()
        {

        }

        public RegValidator(string str, int len, bool ischeck)
        {
            this.name = str;
            this.inputLen = len;
            this.checkState = ischeck;
        }

    }
}
